"use strict";
cc._RF.push(module, '2d089g5CTpCVrvMX93F8el2', 'AddedBonus');
// scripts/AddedBonus.js

"use strict";

var t = require;
var e = module;
var o = exports;

var _i,
    n = void 0 && (void 0).__extends || (_i = function i(t, e) {
  return (_i = Object.setPrototypeOf || {
    __proto__: []
  } instanceof Array && function (t, e) {
    t.__proto__ = e;
  } || function (t, e) {
    for (var o in e) {
      Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
    }
  })(t, e);
}, function (t, e) {
  function o() {
    this.constructor = t;
  }

  _i(t, e), t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype, new o());
}),
    a = void 0 && (void 0).__decorate || function (t, e, o, i) {
  var n,
      a = arguments.length,
      r = a < 3 ? e : null === i ? i = Object.getOwnPropertyDescriptor(e, o) : i;
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(t, e, o, i);else for (var s = t.length - 1; s >= 0; s--) {
    (n = t[s]) && (r = (a < 3 ? n(r) : a > 3 ? n(e, o, r) : n(e, o)) || r);
  }
  return a > 3 && r && Object.defineProperty(e, o, r), r;
};

Object.defineProperty(o, "__esModule", {
  value: !0
});

var r = t("HallConstant"),
    s = t("BroadCastMessage"),
    l = t("Util"),
    c = t("Global"),
    d = t("RedPointControl "),
    h = cc._decorator,
    p = h.ccclass,
    u = h.property,
    f = function (t) {
  function e() {
    var e = null !== t && t.apply(this, arguments) || this;
    return e.videoIcon1 = null, e.TTVideoIcon1 = null, e.videoIcon2 = null, e.TTVideoIcon2 = null, e.videoIcon3 = null, e.videoIcon4 = null, e.TTVideoIcon3 = null, e;
  }

  return n(e, t), e.prototype.start = function () {
    this.TTVideoIcon1.active = !1, this.TTVideoIcon2.active = !1, this.TTVideoIcon3.active = !1, l.Util.is_tt() && (this.videoIcon1.getComponent(cc.Sprite).spriteFrame = this.TTVideoIcon1.getComponent(cc.Sprite).spriteFrame, this.videoIcon2.getComponent(cc.Sprite).spriteFrame = this.TTVideoIcon1.getComponent(cc.Sprite).spriteFrame, this.videoIcon3.getComponent(cc.Sprite).spriteFrame = this.TTVideoIcon1.getComponent(cc.Sprite).spriteFrame, this.videoIcon4.getComponent(cc.Sprite).spriteFrame = this.TTVideoIcon1.getComponent(cc.Sprite).spriteFrame), l.Util.hideSingleCustomAd(!1), l.Util.hideSingleCustomAd(!0), l.Util.showBanner(), d.RedPointControl.getInstance().cal(c.RedPointCalKey.ExploreTask);
  }, e.prototype.close = function () {
    s["default"].getInstance().SendMessage(r.Broadcast_Func.Audio, r.Audio_ID.btn_click), this.node.destroy(), l.Util.showSingleCustomAd(), l.Util.hideBanner(), d.RedPointControl.getInstance().cal(c.RedPointCalKey.ExploreTask), l.Util.showHallBanner();
  }, a([u(cc.Node)], e.prototype, "videoIcon1", void 0), a([u(cc.Node)], e.prototype, "TTVideoIcon1", void 0), a([u(cc.Node)], e.prototype, "videoIcon2", void 0), a([u(cc.Node)], e.prototype, "TTVideoIcon2", void 0), a([u(cc.Node)], e.prototype, "videoIcon3", void 0), a([u(cc.Node)], e.prototype, "videoIcon4", void 0), a([u(cc.Node)], e.prototype, "TTVideoIcon3", void 0), a([p], e);
}(cc.Component);

o["default"] = f;

cc._RF.pop();